import vueSeamless from "vue-seamless-scroll";

export default {
  name: "Recommend",
  components: {
    vueSeamless,
  },
  data: () => {
    return {
      listData: [
        {
          imgUrl:
            "http://shun-huo.com/images/advertisement/right_little_adver_1.png",
          id: 1,
        },
        {
          imgUrl:
            "http://shun-huo.com/images/advertisement/right_little_adver_1.png",
          id: 2,
        },
        {
          imgUrl:
            "http://shun-huo.com/images/advertisement/right_little_adver_1.png",
          id: 3,
        },
      ],
      list_2Data: [
        {
          imgUrl:
            "http://shun-huo.com/images/advertisement/right_little_adver_2.png",
          id: 1,
        },
        {
          imgUrl:
            "http://shun-huo.com/images/advertisement/right_little_adver_2.png",
          id: 2,
        },
        {
          imgUrl:
            "http://shun-huo.com/images/advertisement/right_little_adver_2.png",
          id: 3,
        },
      ],
    };
  },
  computed: {
    optionSetting() {
      return {
        step: 0.2, // 数值越大速度滚动越快
        limitMoveNum: 2, // 开始无缝滚动的数据量 this.dataList.length
      };
    },
  },
};
